package org.nanfang.Yield.Join;

public class Join extends Thread{
    public Join(){

    }
    public Join(String name){
        super(name);
    }
    @Override
    public void run() {
        for (int i =0 ; i < 10 ;i++){
            System.out.println(Thread.currentThread().getName()+"线程"+i);
            //获取中断标记  -- false：表示微中断

        }
    }
}
